//
//  YbrDeviceDao.h
//  wifibox
//
//  Created by xinle on 16/1/25.
//  Copyright © 2016年 yinbaner. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YbrDevice.h"

@interface YbrDeviceDao : NSObject

+(BOOL)insert:(YbrDevice *)item;
+(BOOL)insertArr:(NSArray *)itemArr;
+(BOOL)updateUserByitem:(YbrDevice *)item userName:(NSString *)userName;
+(BOOL)isUpgradeByitem:(YbrDevice *)item upgrade:(int)upgrade;
+(BOOL)deleteById:(int)devId;
+(NSArray *)getDevice;

@end
